TallyAI - AI Assistant inside TallyPrime
========================================
learnwells.com   +91-9131810293

INSTALL (once)
  1. Close TallyPrime.
  2. Double-click TallyAI-Setup.exe and choose "Yes".
     - If Windows shows "Windows protected your PC", click "More info" > "Run anyway".
     - If it asks for administrator permission, choose "Yes" (needed to add the TDL to tally.ini).
  3. Open TallyPrime -> Gateway of Tally -> "AI Assistant".

  Updating: close TallyPrime and run the new TallyAI-Setup.exe again. Settings are kept.

AI ASSISTANT MENU
  Ask AI              : type a command in the box on top; the report appears in a grid below
  Ready-made Reports  : pick a report from the list (no API key needed)
  GST Reports         : GST registers and summaries (no API key needed)
  AI Settings         : 1) select provider  2) paste API key  3) select model
                        (Groq, Google Gemini, Mistral, Claude, OpenAI)

  Reports cover Tally's current period, from its first day to its last day
  (the "Current Period" shown at the Gateway of Tally; change it with Alt+F2).
  In Ask AI, a command without a period also uses this period; to see another period,
  say it in the command (for example "sales of October 2026").
  On a report screen: Esc = back, Alt+E = export, Ctrl+P = print.

READY-MADE REPORTS
  - Debtors Outstanding (receivable)
  - Creditors Outstanding (payable)
  - Pending Bills - Receivable
  - Pending Bills - Payable
  - Pending Bills - All
  - Cash & Bank Balances
  - Month-wise Sales
  - Month-wise Purchase
  - Party-wise Sales (top customers)
  - Party-wise Purchase
  - Item-wise Sales
  - Item-wise Purchase
  - Stock Summary
  - Expenses (ledger-wise)
  - Day Book
  - Group Summary
  - Ledger Balances (like Trial Balance)

GST REPORTS
  - GST Sales Register (invoice-wise)
  - GST Purchase Register (invoice-wise)
  - GST B2B Sales (parties with GSTIN)
  - GST B2C Sales (without GSTIN)
  - GST Party-wise Sales Summary
  - GST Party-wise Purchase / ITC Summary
  - GST Month-wise Summary (Output - Input)
  - GST Rate-wise Sales (approximate rate)
  - GST Credit / Debit Notes
  - GST Tax Ledger Balances
  - Parties without GSTIN

  Note: GST reports are built from the ledger entries of vouchers (using the Central / State /
  Integrated Tax type of the tax ledgers). They are not the statutory GSTR-1 / GSTR-3B formats,
  and there is no HSN-wise summary. Cross-check with Tally's own GST reports before filing.

WHERE TO GET AN API KEY
  Groq          : console.groq.com/keys
  Google Gemini : aistudio.google.com/apikey
  Mistral       : console.mistral.ai/api-keys
  Claude        : console.anthropic.com/settings/keys
  OpenAI        : platform.openai.com/api-keys

  More providers (OpenRouter, Cerebras, NVIDIA, Ollama, custom) can be set in a browser at
  http://localhost:8765

IF "AI Assistant" IS MISSING FROM THE MENU
  In TallyPrime press F1 (Help) > TDL & Add-On > F4 and add this file:
  %LOCALAPPDATA%\TallyAI\TallyAI.tdl

TROUBLESHOOTING
  The folder %LOCALAPPDATA%\TallyAI contains log.txt and the last requests Tally sent
  (last_plan_request.xml, last_data_request.xml, last_run_request.xml). Send these files
  to support if a report does not work.

SUPPORT
  learnwells.com   +91-9131810293

UNINSTALL
  Run "Uninstall.cmd" in the folder %LOCALAPPDATA%\TallyAI.
